package com.szy.bigevent.service;

import com.github.pagehelper.PageInfo;
import com.szy.bigevent.pojo.Category;

import java.util.List;

public interface CategoryService {
    Category selectById(Long id);

    PageInfo<Category> selectAll(Integer pageSize, Integer pageNum);

    int deleteById(Long id);

    int insertSelective(Category record);

    int updateByIdSelective(Category record);

    List<Category> selectAll();
}
